Optimal. Leaf size=139 \[ \frac {1}{9} x^9 (d+10 e)+\frac {5}{8} x^8 (2 d+9 e)+\frac {15}{7} x^7 (3 d+8 e)+5 x^6 (4 d+7 e)+\frac {42}{5} x^5 (5 d+6 e)+\frac {21}{2} x^4 (6 d+5 e)+10 x^3 (7 d+4 e)+\frac {15}{2} x^2 (8 d+3 e)+5 x (9 d+2 e)+(10 d+e) \log (x)-\frac {d}{x}+\frac {e x^{10}}{10} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 139, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {27, 76} \begin {gather*} \frac {1}{9} x^9 (d+10 e)+\frac {5}{8} x^8 (2 d+9 e)+\frac {15}{7} x^7 (3 d+8 e)+5 x^6 (4 d+7 e)+\frac {42}{5} x^5 (5 d+6 e)+\frac {21}{2} x^4 (6 d+5 e)+10 x^3 (7 d+4 e)+\frac {15}{2} x^2 (8 d+3 e)+5 x (9 d+2 e)+(10 d+e) \log (x)-\frac {d}{x}+\frac {e x^{10}}{10} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 76
Rubi steps
\begin {align*} \int \frac {(d+e x) \left (1+2 x+x^2\right )^5}{x^2} \, dx &=\int \frac {(1+x)^{10} (d+e x)}{x^2} \, dx\\ &=\int \left (5 (9 d+2 e)+\frac {d}{x^2}+\frac {10 d+e}{x}+15 (8 d+3 e) x+30 (7 d+4 e) x^2+42 (6 d+5 e) x^3+42 (5 d+6 e) x^4+30 (4 d+7 e) x^5+15 (3 d+8 e) x^6+5 (2 d+9 e) x^7+(d+10 e) x^8+e x^9\right ) \, dx\\ &=-\frac {d}{x}+5 (9 d+2 e) x+\frac {15}{2} (8 d+3 e) x^2+10 (7 d+4 e) x^3+\frac {21}{2} (6 d+5 e) x^4+\frac {42}{5} (5 d+6 e) x^5+5 (4 d+7 e) x^6+\frac {15}{7} (3 d+8 e) x^7+\frac {5}{8} (2 d+9 e) x^8+\frac {1}{9} (d+10 e) x^9+\frac {e x^{10}}{10}+(10 d+e) \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 139, normalized size = 1.00 \begin {gather*} \frac {1}{9} x^9 (d+10 e)+\frac {5}{8} x^8 (2 d+9 e)+\frac {15}{7} x^7 (3 d+8 e)+5 x^6 (4 d+7 e)+\frac {42}{5} x^5 (5 d+6 e)+\frac {21}{2} x^4 (6 d+5 e)+10 x^3 (7 d+4 e)+\frac {15}{2} x^2 (8 d+3 e)+5 x (9 d+2 e)+(10 d+e) \log (x)-\frac {d}{x}+\frac {e x^{10}}{10} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(d+e x) \left (1+2 x+x^2\right )^5}{x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 131, normalized size = 0.94 \begin {gather*} \frac {252 \, e x^{11} + 280 \, {\left (d + 10 \, e\right )} x^{10} + 1575 \, {\left (2 \, d + 9 \, e\right )} x^{9} + 5400 \, {\left (3 \, d + 8 \, e\right )} x^{8} + 12600 \, {\left (4 \, d + 7 \, e\right )} x^{7} + 21168 \, {\left (5 \, d + 6 \, e\right )} x^{6} + 26460 \, {\left (6 \, d + 5 \, e\right )} x^{5} + 25200 \, {\left (7 \, d + 4 \, e\right )} x^{4} + 18900 \, {\left (8 \, d + 3 \, e\right )} x^{3} + 12600 \, {\left (9 \, d + 2 \, e\right )} x^{2} + 2520 \, {\left (10 \, d + e\right )} x \log \relax (x) - 2520 \, d}{2520 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 137, normalized size = 0.99 \begin {gather*} \frac {1}{10} \, x^{10} e + \frac {1}{9} \, d x^{9} + \frac {10}{9} \, x^{9} e + \frac {5}{4} \, d x^{8} + \frac {45}{8} \, x^{8} e + \frac {45}{7} \, d x^{7} + \frac {120}{7} \, x^{7} e + 20 \, d x^{6} + 35 \, x^{6} e + 42 \, d x^{5} + \frac {252}{5} \, x^{5} e + 63 \, d x^{4} + \frac {105}{2} \, x^{4} e + 70 \, d x^{3} + 40 \, x^{3} e + 60 \, d x^{2} + \frac {45}{2} \, x^{2} e + 45 \, d x + 10 \, x e + {\left (10 \, d + e\right )} \log \left ({\left | x \right |}\right ) - \frac {d}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 127, normalized size = 0.91 \begin {gather*} \frac {e \,x^{10}}{10}+\frac {d \,x^{9}}{9}+\frac {10 e \,x^{9}}{9}+\frac {5 d \,x^{8}}{4}+\frac {45 e \,x^{8}}{8}+\frac {45 d \,x^{7}}{7}+\frac {120 e \,x^{7}}{7}+20 d \,x^{6}+35 e \,x^{6}+42 d \,x^{5}+\frac {252 e \,x^{5}}{5}+63 d \,x^{4}+\frac {105 e \,x^{4}}{2}+70 d \,x^{3}+40 e \,x^{3}+60 d \,x^{2}+\frac {45 e \,x^{2}}{2}+45 d x +10 d \ln \relax (x )+10 e x +e \ln \relax (x )-\frac {d}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.66, size = 125, normalized size = 0.90 \begin {gather*} \frac {1}{10} \, e x^{10} + \frac {1}{9} \, {\left (d + 10 \, e\right )} x^{9} + \frac {5}{8} \, {\left (2 \, d + 9 \, e\right )} x^{8} + \frac {15}{7} \, {\left (3 \, d + 8 \, e\right )} x^{7} + 5 \, {\left (4 \, d + 7 \, e\right )} x^{6} + \frac {42}{5} \, {\left (5 \, d + 6 \, e\right )} x^{5} + \frac {21}{2} \, {\left (6 \, d + 5 \, e\right )} x^{4} + 10 \, {\left (7 \, d + 4 \, e\right )} x^{3} + \frac {15}{2} \, {\left (8 \, d + 3 \, e\right )} x^{2} + 5 \, {\left (9 \, d + 2 \, e\right )} x + {\left (10 \, d + e\right )} \log \relax (x) - \frac {d}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.09, size = 118, normalized size = 0.85 \begin {gather*} x^9\,\left (\frac {d}{9}+\frac {10\,e}{9}\right )+x^6\,\left (20\,d+35\,e\right )+x^8\,\left (\frac {5\,d}{4}+\frac {45\,e}{8}\right )+x^2\,\left (60\,d+\frac {45\,e}{2}\right )+x^3\,\left (70\,d+40\,e\right )+x^4\,\left (63\,d+\frac {105\,e}{2}\right )+x^7\,\left (\frac {45\,d}{7}+\frac {120\,e}{7}\right )+x^5\,\left (42\,d+\frac {252\,e}{5}\right )-\frac {d}{x}+\frac {e\,x^{10}}{10}+x\,\left (45\,d+10\,e\right )+\ln \relax (x)\,\left (10\,d+e\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.36, size = 121, normalized size = 0.87 \begin {gather*} - \frac {d}{x} + \frac {e x^{10}}{10} + x^{9} \left (\frac {d}{9} + \frac {10 e}{9}\right ) + x^{8} \left (\frac {5 d}{4} + \frac {45 e}{8}\right ) + x^{7} \left (\frac {45 d}{7} + \frac {120 e}{7}\right ) + x^{6} \left (20 d + 35 e\right ) + x^{5} \left (42 d + \frac {252 e}{5}\right ) + x^{4} \left (63 d + \frac {105 e}{2}\right ) + x^{3} \left (70 d + 40 e\right ) + x^{2} \left (60 d + \frac {45 e}{2}\right ) + x \left (45 d + 10 e\right ) + \left (10 d + e\right ) \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________